package org.example.spring.self.demo.aop;

import org.springframework.cglib.core.DebuggingClassWriter;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 文件描述
 *
 * @author yezhou41127
 * @date: 2022年10月20日
 */


public class AOPApplicationContext {

	public static void main(String[] args) {
		System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY, "./temp");
		ApplicationContext context = new AnnotationConfigApplicationContext(ACConfig.class);
		Person person = (Person) context.getBean("person");
		// MethodInterceptor var10000 = this.CGLIB$CALLBACK_0;
		// var10000.intercept(this, CGLIB$everyDay$0$Method, CGLIB$emptyArgs, CGLIB$everyDay$0$Proxy);
		person.everyDay();
	}
}
